Skip to main content
POST
/
admin
/
v0
/
members
[Closed Alpha] Add member
curl --request POST \
  --url https://api.tightknit.ai/admin/v0/members \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "[email protected]",
  "full_name": "John Doe",
  "avatar_url_original": "https://example.com/image.png"
}'
{
  "success": true,
  "message": "<string>",
  "data": {
    "member": {
      "id": "91795199-9d00-47c7-bd6e-d4049bb63451",
      "email": "[email protected]",
      "full_name": "John Doe",
      "preferred_name": "John D.",
      "avatar_url_original": "https://example.com/image.png",
      "slack_profile_id": "U088HCYD418"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
email
string<email>
required

Email address for the member

Required string length: 1 - 254
full_name
string
required

Member's full name (first and last name, separated by a space)

Required string length: 1 - 100
Example:

"John Doe"

avatar_url_original
string<uri> | null

Original avatar image URL

Maximum length: 2048
Example:

"https://example.com/image.png"

Response

Member already existed and was updated successfully.

success
boolean
required
message
string
required

A message describing the result of the operation

data
object
required